<?php
class TagsController extends BaseManageController{
	public function actionAdmin(){
		$this->pageTitle = '标签管理列表 - ' . Yii::app()->name;
		$mod = new GoodsTagsModel();
		$con = array(
			'site_id' => SITE_ID
		);
		$total = $mod->count($con);
		$this->setPagination($total);
		$tags_list = $mod->find($con, null, $this->pager->offset, $this->pager->pageSize);
		$this->render('admin', array('list'=>$tags_list));
	}
}

?>